<template>
    <el-dialog title="提  示" :visible.sync="showMessageDialog">
      <h1 class="notice">您确认要删除这条数据吗？</h1>
      <div slot="footer" class="footer-btn">
        <div class="btn1" @click="saveDele">确认</div>
        <div class="btn2" @click="cancelBtn">取消</div>
      </div>
    </el-dialog>
</template>
<script>
export default {
  data() {
    return {
      showMessageDialog:false,
    };
  },
  methods: {
    saveDele(){
        this.$emit('delbtn')
    },
    cancelBtn(){
        this.showMessageDialog = false
        this.$message({
            type: 'info',
            message: '已取消删除'
          });
    }
  },
};
</script>
<style lang="less" scoped>
.notice{
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004CA7;
    text-align: center;
    margin: 60px 0 58px;
}
.footer-btn{
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    div{
        width: 87px;
        text-align: center;
        height: 36px;
        line-height: 36px;
        border-radius: 6px;
        cursor: pointer;
    }
    .btn1{
        border: 1px solid #F3B815;
        color:#F3B815 ;
        background: #FFF6EF;
        margin-right: 120px;
    }
    .btn2{
        background: #F1FFF8;
        border: 1px solid #02C86C;
        color:#02C86C ;
    }
    .btn3{
        background: #FFEFEF;
        border: 1px solid #FF3819;
        color:#FF3819;
    }
}
</style>
